package cc.lj.internal.payment.domain.settlement.vo.convert;

import cc.lj.internal.payment.domain.pay.vo.TicketPayRecordDO;
import cc.lj.internal.payment.domain.settlement.vo.CouponsSubsidyDetailDO;
import cc.lj.internal.payment.infrastructure.po.CouponsSubsidyDetailPO;
import cc.lj.internal.payment.infrastructure.po.TicketPayRecordPO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 电子券补贴明细表 PO 与 DO之间转换
 * @author liangxifeng
 * @date 2022-10-23
 */
@Mapper
public interface CouponsSubsidyDetailPOConvertDO {
    CouponsSubsidyDetailPOConvertDO INSTANCE = Mappers.getMapper(CouponsSubsidyDetailPOConvertDO.class);
    //do to po
    CouponsSubsidyDetailPO convert(CouponsSubsidyDetailDO detailDO);

    //po to do
    CouponsSubsidyDetailDO convert(CouponsSubsidyDetailPO detailPO);
}
